 //定义user接口
export class Iuser {
     code:string = '';
     appId:string = '';
	 iv:string = '';
	 encryptedData:string = '';
	 userName:string = '';
	 userAvatar:string = '';
	 clientType?:string = '';
	 session_key?:string = '';
	 openid?:string = ''
 }
  // 获取验证码
  export class Icode{
	  mobile:string = '';
	  type:number = 2 //	买家:1--商家:2--司机--3
  }
  // 短信登录
  export class Isms{
  	  userName:string = '';
	  code:string = ''

  }
  // 账号密码
  export class Iaccount{
  	  mobile:string = '';
  	  password:string = '';
	  code:string = '';
	  openid?:string = '';
	  name?:string = uni.getStorageSync('userInfo').nickName || '';
	  apple_openid?:string = ''
  }
